package com.dabaozhan.modules.wx_app.service;

import java.util.List;

import com.dabaozhan.modules.wx_app.entity.FormQueryEntity;
import com.dabaozhan.modules.wx_app.entity.PurchaseFormEntity;

/**
 * @author houzhong
 * @date 2019-01-25 10:07
 */
public interface PurchaseFormService {

    /**
     * 添加采购报表
     * @param v
     * @return
     */
    int savePurchaseForm(PurchaseFormEntity v);

    /**
     * 修改采购报表订单状态
     * @param v
     * @return
     */
    int updatePurchaseForm(PurchaseFormEntity v);

    /**
     * 根据订单编号查询
     * @param orderNumber
     * @return
     */
    PurchaseFormEntity getPurchaseFormId(String orderNumber);
    
    public List<PurchaseFormEntity> getPurchaseList(FormQueryEntity entity);
}
